import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CmsVideoComponent } from './video/video.component';
import { VideoFormComponent } from './edit/edit.component';

const routes: Routes = [

  { path: 'video', component: CmsVideoComponent },
  { path: 'edit', component: VideoFormComponent }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CmsRoutingModule { }
